package com.app.backend.activiti.serviceImpl;

import com.app.backend.activiti.dao.ActModelDao;
import com.app.backend.activiti.entity.ActModel;
import com.app.backend.activiti.service.ActModelService;
import com.app.backend.common.base.BaseDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


/**
 * @program: ActModelServiceImpl
 * @description:
 * @author: Zhun.Xiao
 * @create: 2020-02-25 21:29
 **/

@Service
@Slf4j
@Transactional(rollbackFor = Exception.class)
public class ActModelServiceImpl implements ActModelService {

    @Autowired
    private ActModelDao actModelDao;

    @Override
    public BaseDao<ActModel, String> getRepository() {
        return actModelDao;
    }
}